#include<stdio.h>
int main(void)
{
	int i;
	int cnt = 0;
	double avg = 0;
	int sum = 0;
	for(i=1; i<100; i+=2)
	{
		sum = sum + i;
		++cnt;
	}
	avg = 1.0 * sum / cnt;
	printf("avg = %f\n", avg);
	return 0;
}